create
@NonNull
Factory method to create a new ViewDragHelper.
Return
a new ViewDragHelper instance
Parameters
forParent
Parent view to monitor
cb
Callback to provide information and receive events
@NonNull
Factory method to create a new ViewDragHelper.
Return
a new ViewDragHelper instance
Parameters
forParent
Parent view to monitor
sensitivity
Multiplier for how sensitive the helper should be about detecting the start of a drag. Larger values are more sensitive. 1.0f is normal.
cb
Callback to provide information and receive events